using FSM.Model; 
using System; 
using System.Collections.Generic; 
using System.Text; 
 
namespace FSM.IBll 
{ 
    public interface ISysParamBll 
    { 
        #region 查询 
        /// <summary> 
        /// 根据键值查询单个信息 
        /// </summary> 
        /// <param name="param_no">键值</param> 
        /// <returns></returns> 
        sys_param Get(int? param_no); 
 
        /// <summary> 
        /// 分页查询批量信息 
        /// </summary> 
        /// <param name="param_name"></param> 
        /// <param name="param_desc"></param> 
        /// <param name="page">页码</param> 
        /// <param name="page_size">每页显示的条数</param> 
        /// <returns></returns> 
        Tuple<List<sys_param>, int> ListPagin(string param_name, string param_desc, int page, int page_size); 
 
        /// <summary> 
        /// 查询批量信息 
        /// </summary> 
        /// <param name="param_name"></param> 
        /// <param name="param_desc"></param> 
        /// <returns></returns> 
        List<sys_param> List(string param_name, string param_desc); 
        #endregion 
 
        #region 提交 
        /// <summary> 
        /// 添加当前列表数据 
        /// </summary> 
        /// <param name="model">实体</param> 
        /// <returns></returns> 
        bool Insert(sys_param model); 
 
        /// <summary> 
        /// 更新当前列表数据 
        /// </summary> 
        /// <param name="model">实体</param> 
        /// <returns></returns> 
        bool Update(sys_param model); 
 
        /// <summary> 
        ///  删除当前列表数据 
        /// </summary> 
        /// <param name="param_no_arr">键值</param> 
        /// <returns></returns> 
        bool Delete(params int[] param_no_arr); 
        #endregion 
    } 
} 
